package com.xuecheng.api.system;


import com.xuecheng.api.system.model.dto.DictionaryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

import java.util.List;


/**
 * 系统-数据字典Api接口
 */
@Api(tags = "系统-数据字典",description = "对数据字典操作")
public interface DictionaryApi {


    @ApiOperation(value = "根据code查询数据字典")
    @ApiImplicitParam(value = "getDictionary",paramType = "path",required = true,dataType = "String",name = "code")
    DictionaryDTO getDictionary(String code);

    @ApiOperation(value = "查询数据字典全部数据")
    List<DictionaryDTO> queryAll();
}
